Latest Questions

@Injectable giving undefined in angular 13

Hello guys I've recently updated angular to the version 13 and I'm experiencing some issues regarding DI. When I call the ReflectiveInjector.resolveAndCreate()

How should I handle in app payment for new app that does not have anything to show yet

I have created a new app that is not in both stores yet. It is supposed to charge users subscriptions every 1 / 3 / or 6 months. The app helps users find near

sqllite offline in ionic 4

I am facing issue in ionic 4 . Induction variable gives undefined but there is data when i run sql query ..Help me Please following is my code try {

Weird output from "flutter clean" command when used outside folder that has build

When i run flutter clean a folder outside the main build folder. I this response: Changing current working directory to: /User/.. Why is that? and what does wor

How to read data from nested array in Firestore

I have the below structure in my Firestore and I want to read data and store it in ArrayList like I have "amountArrayList" which will read data from the "transa

Azure Data Factory - Copy Activity - Read data from http response timeout

I use the Copy activity to query an HTTP endpoint, but after 5 minutes I keep getting the following error "Read data from response timeout": Error Code: ErrorCo

Expected list of ‘lower-bound :’ or list of ‘lower-bound : upper-bound’ specifications at (1) in Fortran pointer

The background of my question is related to Optimizing array additions and multiplications with transposes I am thinking about optimizng 0.1*A + 0.1*transpose(A

get longitude X, latitude Y coordinates from German NUTS regional names

I have a set of data of German regions with their NUTS names. Is there a way to get Long X and Lat Y coordinates based on their NUTS names in Python?

Python argparse prevent long and short flags at same time

I have this code: parser = argparse.ArgumentParser() parser.add_argument('-L', '--list', action='store_true', help='list options') args = parser.parse_args() I

Ignoring CMake cached variable

How can I force CMake to ignore cached value? I want to require the caller to pass variable each time, for example cmake .. -DSOME_VAR=value and if I call CMak

How to aggregate one column of django table based on another column

I have a table like below: id | type | code ------------------------------------- 0. 5 2 1 6 6 2 8

I'm using AOS library to give animation but it is not working on some div

This is my html header <link href="https://unpkg.com/[email protected]/dist/aos.css" rel="stylesheet"> this is my html <div class="row justify-content-center

Error: Cannot find module '@babel/plugin-proposal-private-methods'

When checking out of the latest master, I receive the following error when I try to build Webpack. The only noticeable change was a single gem that was installe

How to include an XAML icon in another XAML file

I've downloaded the Visual Studio Image Library, which contains XAML icons. For example, this is the content of the file FolderClosed_16x.xaml: <!-- This fil

Syntax error when trying to insert record into posgtresql using pg8000 driver

When I am trying to insert a record into Postgresql I am getting below error. pg8000.exceptions.DatabaseError: {'S': 'ERROR', 'V': 'ERROR', 'C': '42601', 'M':

Unable to automate AD user creation in Azure SQL database

I'm trying to set up automated pipeline for database creation and need to open access for all users of some AD group. Last part is done through CREATE USER [Gro

How to test @InjectReactive() of Vue-Property-Decorator on vue-test-utils?

I am not sure how to provide the inject-reactive data when I mount the component. I don't need the exact solution, just a hint would be much appreciated. Here i

Handling unexpected mutations properties in Vue3js

I have a vue3 webapp that I use to edit some multi-pages documents. All the pages are stored in a state with pinia. My pinia state is an object with a pages pro

Javascript VSCode function definition broken with module exports

I'm working on a Chrome extension and have a set of js files imported in the extension's popup in <script defer src="../utils/X.js"></script> tags.

Graph Active Directory Users API returning lots of duplicates

I'm using the Graph API in an azure function to get all users from active directory. The code I am using shown below but pseudocode is if there is no previous d

Excel GROUP MINIMUM VARIABLE

ID Value Valid MAX Group3 2 NO 8 Group3 8 YES 8 Group1 4 YES 4 Group4 2 NO 1 Group4 3 NO 1 Group4 1 YES 1 Group1 2 YES 4 Group1

How do you import Pygame in Sublime Text 4 on Windows 10?

I've been trying to use Pygame on Sublime Text 4 for the longest. But every time I try to import it into Sublime Text it says that there's no module named Pygam

Stuck terminal when creating new flutter project with get_cli?

Here the activation command flutter pub global activate get_cli Here the create new project command get create project:getcli_test

Nested structured search is Sourcegraph?

I would like to search Java annotations with another annotations inside. I don't know how many nested levels there are or I don't want to specify it. Finally, I

Storing Laravel Logs using InfluxDb, Telegraf and Grok

I'm trying to centralize all Laravel logs using Telegraf and visualize them with Grafana. For now I can store logs with the following format: [2022-03-31 12:08:

Problem with exception handling using Python requests module

The following part of my code is supposed to do exception handling during HTTP requests. app.py class Get: def __init__(self, url): self.url = url

Could not load file or assembly 'Microsoft.Data.SqlClient' in .NET 6

I have developed a WPF app on .NET 5 (CRUD operations with Entity Framework Core). MSI packages are built with Wix toolset. Up to here everything works. I am cu

SwiftUI Navigation Title Text Priority (of two texts)

I have two texts that I would like to display in a navigation title: ... .navigationTitle(Text(getTitle()) + Text(" (\(selection + 1)/\(sequenceObject.h

Why TDengine database second service not write log into logDir?

Why TDengine database second service not write log into logDir? I use taosd -c /work/taos63000/config/taos.cfg to start it but it didn't write log into logDir

Scraping data with BeautifulSoup and Selenium

I am using BeautifulSoup and Selenium to extract web data (beautifulsoup to parse the HTML page and Selenium to click Next to get to the next list of items on t